package com.audaque.springboot.foshanupload.web.mvgenerator.model.qo;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;

import lombok.Data;
import lombok.NoArgsConstructor;


import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author zgb
 * @desc ...
 * @date 2021-06-14 23:20:27
 */
@Data

@NoArgsConstructor
@AllArgsConstructor
@Schema( description = "生成指定参数")
public class GeneratorWhichVmQo {

    @Schema( description = "是否开启")
    @NotNull
    private Boolean enabledYn;



    @Schema( description = "是否允许生成全部表")
    @NotNull
    private Boolean canAllTableYn=false;


    @Schema( description = "表列表")
    @NotNull
    private List<String> tableList;


    @Schema( description = "是否生成全部对象")
    @NotNull
    private Boolean allYn;


    @Schema( description = "是否生成全部entity相关对象")
    @NotNull
    private Boolean entityRelationAllYn;

    @Schema( description = "是否生成msc对象")
    @NotNull
    private Boolean mscYn;

    @Schema( description = "是否单个生成api对象")
    @NotNull
    private Boolean apiYn;

    @Schema( description = "是否单个生成dao对象")
    @NotNull
    private Boolean daoYn;

    @Schema( description = "是否单个生成daoImpl对象")
    @NotNull
    private Boolean daoImplYn;

    @Schema( description = "是否单个生成pojo对象")
    @NotNull
    private Boolean pojoYn;





    @Schema( description = "是否单个生成kbo对象")
    @NotNull
    private Boolean kboYn;

    @Schema( description = "是否单个生成qo对象")
    @NotNull
    private Boolean qoYn;
    @Schema( description = "是否单个生成req对象")
    @NotNull
    private Boolean reqYn;

    @Schema( description = "是否单个生成mapper对象")
    @NotNull
    private Boolean mapperYn;

    @Schema( description = "是否单个生成mapperXml对象")
    @NotNull
    private Boolean mapperXmlYn;


    @Schema( description = "是否单个生成serviceYn对象")
    @NotNull
    private Boolean serviceYn;

    @Schema( description = "是否单个生成serviceImpl对象")
    @NotNull
    private Boolean serviceImplYn;

    @Schema( description = "是否单个生成controller对象")
    @NotNull
    private Boolean controllerYn;


}
